package com.zy.dao.bs;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.zy.dao.base.BaseDao;
import com.zy.entity.bs.Msg;
import com.zy.pojo.query.bs.MsgQuery;

public interface MsgDao extends BaseDao<Msg> {

	List<Msg> listMsg(@Param("msgQuery") MsgQuery msgQuery, @Param("start") Integer start, @Param("limit") Integer limit);

	long countMsg(@Param("msgQuery") MsgQuery msgQuery);

	List<Msg> appListMsg(@Param("msgQuery") MsgQuery msgQuery, @Param("start") Integer start, @Param("limit") Integer limit);

	long appCountMsg(@Param("msgQuery") MsgQuery msgQuery);

}